package com.scsj.supermarket.bean;

import java.util.HashMap;
import java.util.List;

/**
 * 首页商品列表
 */

public class ShopListBaseBean extends BaseBean {

    private List<ShopListBase>list;

    public ShopListBaseBean() {
    }

    public ShopListBaseBean(List<ShopListBase> list) {
        this.list = list;
    }

    public List<ShopListBase> getList() {
        return list;
    }

    public void setList(List<ShopListBase> list) {
        this.list = list;
    }

    public static class ShopListBase{
        private String index_icon_iv;
        private String index_address_tv;
        private String index_name_tv;
        private String index_func_tv;
        private String index_num_tv;
        private String index_collect_tv;
        private String index_price_tv;
        private String index_oldprice_tv;

        public ShopListBase(HashMap map) {
            this.index_icon_iv = (String) map.get(0);
            this.index_address_tv = (String) map.get(1);
            this.index_name_tv = (String) map.get(2);
            this.index_func_tv = (String) map.get(3);
            this.index_num_tv = (String) map.get(4);
            this.index_collect_tv = (String) map.get(5);
            this.index_price_tv = (String) map.get(6);
            this.index_oldprice_tv = (String) map.get(6);
        }

        public String getIndex_icon_iv() {
            return index_icon_iv;
        }

        public void setIndex_icon_iv(String index_icon_iv) {
            this.index_icon_iv = index_icon_iv;
        }

        public String getIndex_address_tv() {
            return index_address_tv;
        }

        public void setIndex_address_tv(String index_address_tv) {
            this.index_address_tv = index_address_tv;
        }

        public String getIndex_name_tv() {
            return index_name_tv;
        }

        public void setIndex_name_tv(String index_name_tv) {
            this.index_name_tv = index_name_tv;
        }

        public String getIndex_func_tv() {
            return index_func_tv;
        }

        public void setIndex_func_tv(String index_func_tv) {
            this.index_func_tv = index_func_tv;
        }

        public String getIndex_num_tv() {
            return index_num_tv;
        }

        public void setIndex_num_tv(String index_num_tv) {
            this.index_num_tv = index_num_tv;
        }

        public String getIndex_collect_tv() {
            return index_collect_tv;
        }

        public void setIndex_collect_tv(String index_collect_tv) {
            this.index_collect_tv = index_collect_tv;
        }

        public String getIndex_price_tv() {
            return index_price_tv;
        }

        public void setIndex_price_tv(String index_price_tv) {
            this.index_price_tv = index_price_tv;
        }

        public String getIndex_oldprice_tv() {
            return index_oldprice_tv;
        }

        public void setIndex_oldprice_tv(String index_oldprice_tv) {
            this.index_oldprice_tv = index_oldprice_tv;
        }
    }
}
